package dao;

import entity.Movie;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MovieMapper {

    List<Movie> list(@Param("pageNo") int pageNo,@Param("pageSize") int pageSize);

    int count();

    int add(Movie movie);

    int movieName(@Param("name") String name);

}
